package com.syc.entity;

/**
 * 实体类用于映射数据库字段,封装查询参数,查询结果
 *
 * @author Shen Yu Chen
 * @create 2020-04-23
 **/
public class User {
    private Integer id;
    private String username;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", username='" + username + '\'' +
                '}';
    }
}
